﻿CREATE PROCEDURE [dbo].[oisp_Audit_SecurityRoleAccess]
	
AS
	--Make sure the Tables are there for us.
	IF OBJECT_ID('Tempdb.dbo.#Inserted_SecurityRoleAccess') IS NULL OR
		OBJECT_ID('Tempdb.dbo.#Deleted_SecurityRoleAccess') IS NULL
	BEGIN
		RAISERROR 65535 'oisp_Audit_SecurityRoleAccess: Unable to Audit changes tansaction aborted.'
		RETURN 1
	END
	

RETURN 0